package com.hnucm.shopapp.ui.register;

import com.hnucm.shopapp.bean.BaseBean;

import io.reactivex.rxjava3.core.Flowable;
import okhttp3.RequestBody;

public interface RegisterContract {
    interface IRegisterModel {
        Flowable<BaseBean<Boolean>> addUser(RequestBody body);
    }

    interface IRegisterPresenter {
        void addUser(RequestBody body);
    }

    interface IRegisterView {
        void addUserSuccess(boolean bool);
        void addUserError(Throwable throwable);
    }
}
